home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7210 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: redstone.interpath.net!mercury!softbase
  2. From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
  3. Newsgroups: comp.lang.c++,comp.lang.c,comp.os.ms-windows.programmer.misc
  4. Subject: Re: Can 'fscanf' be used in 16-bit DLL?
  5. Followup-To: comp.lang.c++,comp.lang.c,comp.os.ms-windows.programmer.misc
  6. Date: 20 Feb 1996 13:44:15 GMT
  7. Organization: Interpath -- Providing Internet access to North Carolina
  8. Message-ID: <4gcj7f$cnp@redstone.interpath.net>
  9. References: <DMrn2J.5F7.0.-s@hkusuc.hku.hk>
  10. NNTP-Posting-Host: mercury.interpath.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Daniel (h8817968@hkuxb.hku.hk) wrote:
  14. : I am trying to make a 16-bit DLL by using MSVC V1.51 but, when I 
  15. : compile the program, it gives me the follwing warning:
  16.  
  17. : error L2029: '_fscanf' : unresolved external
  18.  
  19. : From the help, it is explicitly telling me that 'fscanf' is 
  20. : defined in 'stdio.h' and I have checked that 'stdio.h' 
  21. : has been included.
  22.  
  23. But you're compiling a standalone DLL -- you'd have to statically link
  24. the library function in with it to use it, unless the program
  25. calling the DLL has it linked in. If you just make a DLL, you don't
  26. have access to the standard library.
  27.  
  28. Scott
  29.  
  30.